{namespace doc=TYPO3\CMS\Documentation\ViewHelpers}

<f:layout name="Default" />

<f:section name="docheader-buttons">

</f:section>

<f:section name="module-headline">
	<h1><f:translate key="showDocumentation">Show Documentation</f:translate></h1>
</f:section>

<f:section name="Content">

	<div class="headerRow ui-helper-clearfix">
		<div class="typo3-documentation-headerRowLeft">
		</div>
		<div class="typo3-documentation-headerRowRight">
		</div>
	</div>

	<table id="typo3-documentation-list" class="typo3-documentation-list">
		<thead>
			<tr>
				<th><f:translate key="tx_documentation_domain_model_document.title" /></th>
				<th><f:translate key="tx_documentation_domain_model_documenttranslation.description" /></th>
				<th><f:translate key="tx_documentation_domain_model_documenttranslation.actions" /></th>
			</tr>
		</thead>
		<tbody>
			<f:for each="{documents}" as="document">
				<f:for each="{document.translations}" as="translation">
					<tr id="{document.packageKey}" >
						<td class="title">
							<img src="../{document.icon}" title="{translation.title}" alt="{translation.title}" />
							{translation.title}
							<f:if condition="{document.extensionKey}">({document.extensionKey})</f:if>
						</td>
						<td>{translation.description}</td>
						<td class="actions icons">
							<doc:formats documentTranslation="{translation}" />
						</td>
					</tr>
				</f:for>
			</f:for>
		</tbody>
	</table>
</f:section>